-
Home
-
Travelpayouts: All Travel Brands in One Place
-
1.1.3
-
Code
-
Classes
- Translator
Total Complexity |
27 |
Dependencies |
7 |
Dependents |
17 |
Total lines |
245 |
Lines of code |
85 |
Logical lines of code |
48 |
Comment lines |
28 |
Methods |
13 |
Properties |
7 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getSupportedLocales() |
S |
54 |
5 |
21 |
addArrayTranslations() |
S |
63 |
5 |
10 |
getLocale() |
S |
70 |
3 |
6 |
addTranslations() |
S |
68 |
3 |
7 |
addTranslation() |
S |
63 |
3 |
10 |
init() |
S |
63 |
1 |
10 |
setLocale() |
S |
81 |
1 |
3 |
getLocaleKeys() |
S |
79 |
1 |
3 |
getTranslator() |
S |
82 |
1 |
3 |
trans() |
S |
78 |
1 |
3 |
transChoice() |
S |
78 |
1 |
3 |
hasTranslation() |
S |
78 |
1 |
3 |
getArrayTranslatedStrings() |
S |
82 |
1 |
3 |